home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #1
/
Amiga Plus CD - 1996 - No. 1.iso
/
pd
/
netz
/
writenews_v2.3
/
writenews2.www.readme
< prev
next >
Wrap
Text File
|
1995-09-18
|
5KB
|
106 lines
Short: AMosaic Post/Follow up News & Mail to Author
Author: john.blyth@edserv.monash.edu.au (John Blyth)
WriteNews2.www is an Arexx Macro for Amosaic. When you have a news article
open in AMosaic, it enables you to Post a new article to the same
newsgroup(s), followup the posting with another posting on that subject, or
email a reply to the author of the posting. Tested with AS225r2 and
Amosaic1.4beta & 2.0beta, but there's no reason why it shouldn't work with
the Amitcp version, with any appropriate changes required.
INSTALLATION: copy WriteNews2.www to your REXX: directory.
REQUIRES: Rexreqtools, & reqtools.library
You will need SMTPpost and NNTPpost from
INETUtils1.4 (Aminet: comm/net) so read the docs on these
utilities!
CONFIGURATION: Load WriteNews2.www into your editor, and edit the
appropriate lines. (most have self explanatory lines in the script)
You'll need to set:
REALNAME: to your realname, of course
FROM: to your email address for replies
USEWB: to 'yes' if you want to force your editor to run on the
workbench, to '' to run on Amosaic's screen
GREETING: Your optional opening line for original postings
SIGFILE: to the full path to your sigfile (preset to uulib:.signature
POSTMAIL: to the full path to your SMTPpost binary and its options
(eg whether to queue or send to smarter host)
POSTNEWS: to the full path to your NNTPpost binary and its options
EDITOR: to the full path for your chosen editor (preset to Ed
EDITORFLAGS: to any editor options/macros required
Your editor must not detach itself! (the editor I use has a `sticky'
option. As the script calls either SMTPpost or NNTPpost, make sure that you
have all the required settings mentioned in InetUtils to make these work,
and the appropriate paths and directories, etc. If you want your editor to
open on Amosaic's pubscreen you'll need to consult the manual for your
editor on how to do this. Note the entry for multiview to see how the
SCREENNAME variable is added to the call for multiview.
Edit your ENVARC:mosaic/prefs entry (and the ENV:mosaic/prefs if you don't
want to reboot to try it out straight away!) so that the next arexx macro
reads:
REXXMACROn ReplytoNews | REXX:WriteNews2.www
where "n" ^ is the number of the next macro in your list.
DONT FORGET A LINE FEED AT THE END OF THE LINE; OTHERWISE THE MACRO IS NOT
RECOGNISED!!!
USAGE: Of course to start News reading under AMosaic you need to have your
NNTPSERVER env: variable set and know your newsgroups in advance: While
typing a URL "news:*" will eventually get you a listing of ALL newsgroups,
it is pretty slow! It is much better to start with a newsgroup you know,
like "news:comp.sys.amiga.networking"
Click on a news entry and read it. Now by selecting the ReplytoNews macro
from the macro list, you'll be presented with a requester, and from then
on it's plain sailing. It has been written as supplied to work with Ed, so
if you have problems, try it with Ed first.
Note: If you try to FOLLOWUP or MAIL and you haven't got an article
opened, you may freeze Amosiac. You can, however, POST an article to a
newsgroup when you only have the listing of articles within that newsgroup.
HISTORY:
version 1.05 written by Gary Gallagher. He did the hard work!
version 2 updated so that
* whole of message including sig file presented to editor
* references & newsgroups were parsed with PARSE command
* options were presented to Send/Edit/List/Abort in main loop
(I didn't like not knowing what was going on)
* extracted user's realname and mailaddress
* extracted html codes from body of text article so that NNTP
postings were clean
* added Mail function to reply to Author
version 2.1 get mosaic's pubscreen name
* changed loop so that sigfile is appended only when set
or when listing. This will enable an editor macro to
position the cursor at the bottom of the file
ready for editing
version 2.2
* is now called from currently running version
(removed address amosaic.1 calls)
* added "USEWB" option for editors that won't run on anything
but Workbench, or for added speed (Workbench running in
lass colours etc)
* put postnews & postmail options at top of file
* added script to get newsgroup for POST option when listing
of news articles is presented (don't have to open article)
version 2.3
* cleaned up for Aminet posting
BUGS: * ? I hope not
TO DO: Any suggestions? perhaps requester for domains? or a search
function for newsgroups? Let me know....
THANKS TO: Gary Gallagher (who or whereever you are) and the AMosaic team.
Michael O'Connell for trying it out for me